const TOKEN = 'token'
// 存储
export function setToken (value) {
  localStorage.setItem(TOKEN, JSON.stringify(value))
}
// 获取
export function getToken () {
  return JSON.parse(localStorage.getItem(TOKEN))
}
// 删除
export function removeToken () {
  localStorage.removeItem(TOKEN)
}
